const routes= [
    {
        path: '/',
        name: 'login',
        meta:{
          alive:false,
        },
        component: () => import('@/view/login')
    },
    {
        path: '/sign-up',
        name: 'sign-up',
        meta: { 
          alive:false,
         },
        component: () => import('@/view/sign-up')
    },
    {
        path: '/main',
        name: 'Index',
        meta: { 
          alive:true,
          authRequied:true
         },
        component: () => import('@/view/index')
    },
    {
      path: '/media',
      name: 'media',
      meta: { 
        alive:true,
        authRequied:true
       },
      component: () => import('@/view/media')
    },
    {
      path: '/aside',
      name: 'aside',
      meta: { 
        alive:false,
        authRequied:true
       },
      component: () => import('@/view/aside')
    },
    {
      path: '/picture',
      name: 'picture',
      meta: { 
        alive:true,
        authRequied:true
       },
      component: () => import('@/view/picture')
    },
    {
      path: '/mymeun',
      name: 'mymeun',
      meta: { 
        alive:true,
        authRequied:true
       },
      component: () => import('@/view/mymeun')
    }
]

export default routes